package com.term.service.impl;

import com.term.service.IPermissionService;
import com.term.dao.IPermissionDao;
import com.term.domain.Permission;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by chenGang on 2017/1/14.
 */
@Service(value = "permissionService")
public class PermissionServiceImpl extends BaseServiceImpl<Permission> implements IPermissionService {


    private IPermissionDao permissionDao;

    @Resource
    public void setPermissionDao(IPermissionDao permissionDao) {
        this.permissionDao = permissionDao;
        setBaseDao(permissionDao);
    }
}
